/**
 * 基础路由
 * @type { *[] }
 */

const constantRouterMap = [
  {
    path: "/",
    redirect: "/websocket",
  },
  {
    name: "Layout",
    path: "/layout",
    component: () => import("@/layout/index.vue"),
    children: [
      {
        path: "/websocket",
        name: "WebSocket",
        component: () => import("@/views/webSocekt/index.vue"),
      },
    ],
  },
];

export default constantRouterMap;
